package com.atkxp.stustatusmasystem.service;

import com.atkxp.stustatusmasystem.pojo.Student;
import com.atkxp.stustatusmasystem.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author user
 * @declaration
 * @create 2023/5/26-19:52
 */
@Service
public interface TeacherService {
    Teacher login(String tid, String password);

    List<Teacher> getAllTeacher();

    Long getTeacherCount();

    Long getAdminCount();

    Teacher getTeacherByTid(String tid);

    int addTeacher(Teacher teacher);

    int deleteTeacherById(int id);

    int updateTeacherById(Teacher teacher);

    Teacher getTeacherById(int id);
}
